package com.ruoyi.hospital.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物就诊记录对象 consultation_record
 * 
 * @author qichi
 * @date 2023-07-04
 */
public class ConsultationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宠物就诊记录id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 就诊编号 */
    @Excel(name = "就诊编号")
    private String consultationNo;

    /** 宠物id */
    @Excel(name = "宠物id")
    private Long petId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 症状描述 */
    @Excel(name = "症状描述")
    private String symptom;

    /** 就诊状态0医生就诊1项目检查2住院治疗3已结束 */
    @Excel(name = "就诊状态0待就诊1开处方中2住院治疗3已结束")
    private Integer consultationStatus;

    /** 问诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "问诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date consultationTime;

    /** 就诊医生 */
    @Excel(name = "就诊医生")
    private Long consultationDoctorId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setConsultationNo(String consultationNo) 
    {
        this.consultationNo = consultationNo;
    }

    public String getConsultationNo() 
    {
        return consultationNo;
    }
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }
    public void setConsultationStatus(Integer consultationStatus) 
    {
        this.consultationStatus = consultationStatus;
    }

    public Integer getConsultationStatus() 
    {
        return consultationStatus;
    }
    public void setConsultationTime(Date consultationTime) 
    {
        this.consultationTime = consultationTime;
    }

    public Date getConsultationTime() 
    {
        return consultationTime;
    }
    public void setConsultationDoctorId(Long consultationDoctorId) 
    {
        this.consultationDoctorId = consultationDoctorId;
    }

    public Long getConsultationDoctorId() 
    {
        return consultationDoctorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("deptId", getDeptId())
            .append("consultationNo", getConsultationNo())
            .append("petId", getPetId())
            .append("customerId", getCustomerId())
            .append("symptom", getSymptom())
            .append("consultationStatus", getConsultationStatus())
            .append("consultationTime", getConsultationTime())
            .append("consultationDoctorId", getConsultationDoctorId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
